#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
  int A,B,D;
  cout<<"vvedit chisla A,B:";
  cin>>A>>B;
  if (A==B) D=0; else D=A+B;
  A=D;
  B=D;
  cout<<"A:"<<A<<endl;
  cout<<"B:"<<B<<endl;
  getch();
  return 0;
}
